package kr.hkit.powerjava.homework;

public class Melon extends Food {

	public Melon(int cal, int money, int wight, String where) {
		super(cal, money, wight);
		this.where = where;
	}

	private String where;

	public String getWhere() {
		return where;
	}

	public void setWhere(String where) {
		this.where = where;
	}
	
	@Override
	public String toString() {
		return super.toString()+"Melon [where=" + where + "]";
	}

	public static void main(String[] args) {
		Melon m = new Melon(500, 10000, 20, "우석농원");
		System.out.println(m);
	}

}
